package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.TkmSysteminitImportInfo;
import com.zjcode.cdcer.model.ZjcodeFollowUpList;
import com.zjcode.cdcer.model.basic.JsonObj;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @author ZQM
 * @date 2023/9/25 14:44
 */
public interface FollowUpListService {
    JsonObj add(ZjcodeFollowUpList zjcodeFollowUpList);

    Integer getCountBysysteminitId( String systeminitId);

    JsonObj edit(PageData pageData);

    JsonObj selById(String id);

    JsonObj del(String id);

    Map<String, Object> selList(PageData pageData);

    List<LinkedHashMap<String, Object>> queryAllExportData(PageData pageData);

    List<ZjcodeFollowUpList>  getDataByInitId(String id);

    ZjcodeFollowUpList getZjcodeFollowUpList(TkmSysteminitImportInfo info);

    StringBuilder dataValidation(String id);
    JsonObj importGJData(MultipartFile file, HttpServletResponse response, String userId);

}
